Skip to content

Conversation

@npwoods
Copy link
Contributor

@npwoods npwoods commented Nov 3, 2025

According to Stack Overflow (https://stackoverflow.com/questions/9248553/wm-setredraw-and-losing-z-order-focus) the default handling of WM_SETREDRAW has some weird behaviors for windows that are not visible. This seems to be the case for Slint windows that are freshly created.

This should fix #9921

…indow is visible

According to Stack Overflow (https://stackoverflow.com/questions/9248553/wm-setredraw-and-losing-z-order-focus) the default handling of `WM_SETREDRAW` has some weird behaviors for windows that are not visible.  This seems to be the case for Slint windows that are freshly created.

This should fix slint-ui#9921
Copy link
Member

@ogoffart ogoffart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@ogoffart ogoffart merged commit 4124c9f into slint-ui:master Nov 4, 2025
41 checks passed
@ogoffart ogoffart added the candidate-for-bugfix-release Label for PRs that would make sense to cherry-pick into a spontaneously created bug fix release bran label Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

candidate-for-bugfix-release Label for PRs that would make sense to cherry-pick into a spontaneously created bug fix release bran

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows with a menu bar don't get keyboard focus when they open on Windows

2 participants